package com.somnus.demo.androiddatabingdemo.listener;

import android.view.View;
import android.widget.Toast;

import com.somnus.demo.androiddatabingdemo.bean.UserBean;

/**
 * Created by Somnus on 2017/3/14.
 *
 * @Description:
 */

public class MyPresenter {
    public void myClick(View view, UserBean user) {
        Toast.makeText(view.getContext(), user.getUserName() + "", Toast.LENGTH_SHORT).show();
    }
}
